import 'package:flutter/material.dart';

class MyLeading extends StatefulWidget {
  const MyLeading({super.key});

  @override
  State<MyLeading> createState() => _MyLeadingState();
}

class _MyLeadingState extends State<MyLeading> {
  @override
  Widget build(BuildContext context) {
    return IconButton(
      onPressed: () {
        Navigator.of(context).pop();
      },
      icon: Icon(Icons.chevron_left_outlined),
    );
  }
}
